package com.cqupt.model.constant;

public class Constant {

    public static final Integer DISABLED_STATE = 0;
    public static final Integer ENABLED_STATE = 1;
    public static final String REDIS_TOKEN_KEY = "app:user:login:";
    public static final String ADMIN_LOGIN = "app:admin:login:";
    public static final String CUR_RECITE_WORD = "cur:";

    public static final String LOGIN_CODE_PREFIX = "code:login:";
    public static final String REGISTER_CODE_PREFIX = "code:register:";

    //默认token的过期时间
    public static final Integer DEFAULT_TOKEN_EXPIRE_TIME = 30;

    //默认验证码的过期时间
    public static final Integer DEFAULT_CODE_EXPIRE_TIME = 5;


}
